$(function(){
	$("#recharge").on("click",function(){
		location.href="/finance/recharge";
	});
	
	$("#accountAssign").on("click",function(){
//		location.href="/finance/accountAssign";
		BSTYUN.dialog.warn("此功能正在建设中，敬请期待！");
	});
	
	$("#turnBill").on("click",function(){
//		location.href="/finance/turnBill";
		BSTYUN.dialog.warn("此功能正在建设中，敬请期待！");
	});
	
	$("#withdraw").on("click",function(){
//		location.href="/finance/withdraw";
		BSTYUN.dialog.warn("此功能正在建设中，敬请期待！");
	});
	
	$("#requestInvoice").on("click",function(){
		var invoiceModelId = $('#invoiceModelId').val();
		if(invoiceModelId == null || invoiceModelId == ""){
			location.href="/finance/invoice/invoiceDemand";
		}else if(invoiceModelId != null && invoiceModelId != ""){
			location.href="/finance/invoice/invoiceDemandDetail";
		}
	});
});